﻿{{ var i = 0;}}
{{ for (var key in it.TYPES) { }}
{{ var isCollapsed = it.FilterMeTaskClassify.indexOf(+key) > -1; }}
<div class="persist-area {{=it.data['num_' + i] === 0 ? 'Hidden' : ''}}">
    <div class="taskListFolderName persist-header" data-type="{{= key }}">
        <i class="arrow-down {{= isCollapsed ? 'downArrow':''}}"></i>
        <span class="listFolderNameTextList myTaskTip" tip="{{=it.TIPS[key] }}">{{=it.TYPES[key] }}</span>
        <span class="stageTaskCount"></span>
    </div>
    <div class="listStageTaskContent" style="{{= isCollapsed ? 'display:none':'display:block'}}">
        <table cellpadding="0" cellspacing="0" data-type="{{=key }}">
            <tbody>
                {{ var tasks = it.data['classify_' + key], taskcount= tasks && tasks.length, type = parseInt(key); }}
                {{~tasks:task:index}}
                    {{?task.charge}}
                        {{ var statusObj = it.formatStatus(task.status, task.locked, task.auth); }}
                        #include.nodeCommTr
                    {{??}}
                        {{console.log(task);}}
                    {{?}}
                {{~}}
            </tbody>
        </table>
    </div>
</div>
{{ i++;}}
{{ } }}
